package com.mate.cloud.message.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.mate.cloud.message.domain.Order;

public interface PhoneService extends IService<Order> {

    /**
     * 发送验证码
     * @param phone
     * @return
     */
    String sendMessage(String phone);

    /**
     * 检查验证码
     * @param phone
     * @param code
     * @return
     */
    String check(String phone,String code);


    void exceptionThrow();
}
